package com.zmn.brs.business.interfaces.order;

import com.zmn.brs.business.interfaces.base.BaseBService;
import com.zmn.brs.model.vo.rule.common.OrderRuleVO;
import com.zmn.oms.common.dto.QueueOrderNodeNotifyDTO;

/**
 * 描述： 订单监控整体单量接口
 *
 * @author chongw
 * @since 2021-06-26 9:55
 */
public interface OrderQuantityBService extends BaseBService<OrderRuleVO> {


    /**
     * 计算当天整体单量
     * @param eventType 事件类型
     * @param queueOrderNodeNotifyDTO
     * @return
     */
    Boolean compute(Integer eventType, QueueOrderNodeNotifyDTO queueOrderNodeNotifyDTO);

    /**
     * 整体单量消息推送
     * @param eventType
     */
    void pushJob(Integer eventType);


}
